Crate opentelemetry_api
source · [−]Expand description
OpenTelemetry provides a single set of APIs, libraries, agents, and collector services to capture distributed traces and metrics from your application. You can analyze them using Prometheus, Jaeger, and other observability tools.
Compiler support: requires rustc
1.56+
Supported Rust Versions
OpenTelemetry is built against the latest stable release. The minimum supported version is 1.56. The current OpenTelemetry version is not guaranteed to build on Rust versions earlier than the minimum supported version.
The current stable Rust compiler and the three most recent minor versions before it will always be supported. For example, if the current stable compiler version is 1.49, the minimum supported version will not be increased past 1.46, three minor versions prior. Increasing the minimum supported compiler version is not considered a semver breaking change as long as doing so complies with this policy.
Modules
metrics
OpenTelemetry Attributes
Primitives for sending name/value data across system boundaries.
Utilities for working with global telemetry primitives
metrics
OpenTelemetry Metrics API
OpenTelemetry Propagator interface
trace
API for tracing applications and libraries.
Structs
An execution-scoped collection of values.
A guard that resets the current context to the prior context when dropped.
Information about a library or crate providing instrumentation.
A key-value pair describing an attribute.
Wrapper for string-like values
Enums
A Value::Array containing homogeneous values.
Traits
Marker trait for errors returned by exporters